package com.itboye.mengwu.app.ui.mymeng;

import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.itboye.core.object.BaseActivity;
import com.itboye.mengwu.R;
import com.itboye.mengwu.app.logincontroller.LoginController;

public class ActivityQuanMessge extends BaseActivity implements OnClickListener {
	private RelativeLayout relayouPingMe, meZan, mePing;
	private ImageView back;
	private TextView txt_title;

	@Override
	public int initView() {
		// TODO Auto-generated method stub
		return R.layout.activity_guanzhu;
	}

	@Override
	public void onMyCreate() {
		// TODO Auto-generated method stub
		txt_title.setText("圈消息");
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.relayouPingMe:
			// LoginController.MessgePrivateData(this, null);
			Intent intent = new Intent(ActivityQuanMessge.this,
					CommentMeActivity.class);
			intent.putExtra("quan", "评论我的");
			startActivity(intent);
			break;
		case R.id.meZan:
			Intent meZan = new Intent(ActivityQuanMessge.this,
					ZanMeActivity.class);
			meZan.putExtra("quan", "赞");
			startActivity(meZan);
			break;
		case R.id.mePing:
			Intent mePing = new Intent(ActivityQuanMessge.this,
					MeCommentActivity.class);
			mePing.putExtra("quan", "我的评论");
			startActivity(mePing);
			break;
		case R.id.back:
			this.finish();
			break;

		default:
			break;
		}
	}

}
